package com.snopy.designPattern.chainOfResponsibility.impl;

import com.snopy.designPattern.chainOfResponsibility.inter.AbstractLogger;
import lombok.extern.slf4j.Slf4j;

/**
 * @author snopy
 * @version 1.0.0
 * @classname DebugLogger
 * @description
 * @email 77912204@qq.com
 * @date 2022/03/04 1:09
 */
@Slf4j
public class DebugLogger extends AbstractLogger {
    public DebugLogger(int level) {
        this.level = level;
    }

    @Override
    public void write(String message) {
        log.info("DEBUG:{}",message);
    }
}
